package com.brush.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 面经统计学习时长埋点
 * @TableName app_question_study_tracking
 */
@TableName(value ="app_question_study_tracking")
@Data
public class AppQuestionStudyTracking implements Serializable {
    /**
     *  主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 科目,app_subject表关联
     */
    private Long subjectId;

    /**
     * 课程id,app_course表关联
     */
    private Long courseId;

    /**
     * 试题编号
     */
    private Long questionId;

    /**
     * 开始时间(毫秒)
     */
    private Date startTime;

    /**
     * 结束时间(毫秒)
     */
    private Date endTime;

    /**
     * 用户id
     */
    private Long userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}